package com.example.demo.Email;

import java.util.List;

public class EmailInfo {
    private String from;              //发件人（获取配置文件中的发送人信息）
    private String to;                //收件人
    private String subject;          //邮件主题
    private String content;          //邮件内容，（包括html）
    private List<String> attachPath; //附件路径

    //getter and setter
    public String getFrom() {return from;}
    public void setFrom(String from) {this.from = from;}

    public String getTo() {return to;}
    public void setTo(String to) {this.to = to;}

    public String getSubject() {return subject;}
    public void setSubject(String subject) {this.subject = subject;}

    public String getContent() {return content;}
    public void setContent(String content) {this.content = content;}

    public List<String> getAttachPath() {return attachPath;}
    public void setAttachPath(List<String> attachPath) {this.attachPath = attachPath;
    }
}

